package stage_1_module_2.code.homework_3;

/**
 * 设计和实现以下枚举类 手机卡的类型总共有3种：大卡、小卡、微型卡
 */
public enum CardEnum {
    BIG(1), SMALL(2), MICRO(3);

    private final int type;
    private CardEnum(int type) {
        this.type = type;
    }
    public int getType() {
        return this.type;
    }
}
